<?php
    header('Content-Type:application/x-www-form-urlencoded');
    @$nm = $_REQUEST['uName'];
    if(empty($nm)){
        $nm = '';
    }
    $pwd = $_REQUEST['uPassword'];
    $tel = $_REQUEST['uPhone'];
    $conn = mysqli_connect('127.0.0.1','root','','nubia','3306');
    mysqli_query($conn,'SET NAMES UTF8');
    $sql = "INSERT INTO nubia_users VALUES(NULL,'$nm','$pwd','$tel')";
    $result = mysqli_query($conn,$sql);
    if($result===TRUE){
        echo 'success';
    }